package com.scs.application.modules.fsd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "智能柜表")
@TableName("fsd_chest")
public class FsdChest extends DataEntity {

    @EntityFieldAnnotation(
            text = "站点id",
            length = "32",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String stationId;

    @EntityFieldAnnotation(
            text = "柜子编号",
            length = "10",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String chestNo;

    @EntityFieldAnnotation(
            text = "状态",
            type = EntityFieldType.TINYINT,
            length = "1",
            not_null = true,
            default_value = "0",
            comment = ""
    )
    private Boolean status;

}
